
Pod::Spec.new do |spec|

  spec.name         = "LDAdSDK"
  spec.version      = "3.0.0"
  spec.summary      = "联道广告聚合SDK"
  spec.description  = <<-DESC
                        联道广告聚合SDK，快速集成，优化收益。
                   DESC

  spec.homepage     = "http://www.liandaomobi.com"
  spec.license      = { :type => "MIT", :file => "LICENSE" }
  spec.author       = { "zhangjie" => "big.huacai@gmail.com" }
  spec.platform     = :ios, "9.0"
  spec.source       = { :http => "http://app.funny-memes.top/sdk/st-gzip/LDAdSDK.zip"}

  spec.requires_arc = true
  spec.user_target_xcconfig =   {'OTHER_LDFLAGS' => ['-lObjC'],'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'}
  spec.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
    
  spec.subspec 'LDMobileAdSDK' do |ss|
      ss.ios.deployment_target = '9.0'
      ss.vendored_frameworks = 'LDAdSDK/LDMobileAdSDK.framework'
      ss.resources = 'LDAdSDK/LDMobileAdSDK.bundle'
  end
  
  spec.subspec 'LDAdCSJ' do |ss|
      ss.ios.deployment_target = '9.0'
      ss.vendored_frameworks = 'LDAdSDK/LDAdCSJ.framework'
      ss.dependency "Ads-CN", "4.8.1.1"
      ss.dependency "LDAdSDK/LDMobileAdSDK", "#{spec.version}"
  end
  
  spec.subspec 'LDAdGDT' do |ss|
      ss.ios.deployment_target = '9.0'
      ss.vendored_frameworks = 'LDAdSDK/LDAdGDT.framework'
      ss.dependency "GDTMobSDK", "4.13.90"
      ss.dependency "LDAdSDK/LDMobileAdSDK", "#{spec.version}"
  end
  
  spec.subspec 'LDAdKS' do |ss|
      ss.ios.deployment_target = '9.0'
      ss.vendored_frameworks = 'LDAdSDK/LDAdKS.framework'
      ss.dependency "KSAdSDK", "3.3.33.1"
      ss.dependency "LDAdSDK/LDMobileAdSDK", "#{spec.version}"
  end
  
  spec.subspec 'LDAdUM' do |ss|
      ss.ios.deployment_target = '9.0'
      ss.vendored_frameworks = 'LDAdSDK/LDAdUM.framework'
      ss.dependency "UMUnionSDK", "1.4.1"
      ss.dependency "LDAdSDK/LDMobileAdSDK", "#{spec.version}"
  end
  
  spec.subspec 'LDAdYD' do |ss|
      ss.ios.deployment_target = '9.0'
      ss.vendored_frameworks = 'LDAdSDK/LDAdYD.framework'
      ss.dependency "YDADSDK", "2.16.14"
      ss.dependency "LDAdSDK/LDMobileAdSDK", "#{spec.version}"
  end

end



